package com.example.demo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * @TableName user
 */
@TableName(value = "user")
@Data
public class User implements Serializable {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    private String username;

    private String password;

    private String avatar;

    private String phone;

    private String email;

    private String role;

    private Date createTime;

    private Date updateTime;

    private Integer delFlag;

    private String nickname;

    private Integer status;

    private Integer isVip;

    private Date vipExpireTime;

    private Long vipNumber;

    private Integer commonSpaceLimit;

    private Integer flagshipSpaceLimit;

    private Integer proSpaceLimit;

    private Integer commonSpaceCount;

    private Integer flagshipSpaceCount;

    private Integer proSpaceCount;

    private static final long serialVersionUID = 1L;
}